package com.amigo.online.provider.manager.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import com.amigo.online.provider.manager.model.entity.MerchantTbl;
import com.amigo.online.provider.manager.result.MerchantTblInfo;

@Mapper
@Component
public interface MerchantTblMapper {

    List<MerchantTblInfo> findMerchantTblList(MerchantTbl merchantTbl);

    Integer updateMerchantTbl(MerchantTbl merchantTbl);

    Integer saveMerchantTbl(MerchantTbl merchantTbl);

    List<MerchantTblInfo> findMerchantTblByIdRange(@Param("startId") Long startId, @Param("endId") Long endId);
}
